package jj.fly.activiti.leavebill.domain;

import java.io.Serializable;
import java.util.Date;

public class LeaveBill implements Serializable {
    private Integer id;

    private Integer days;

    private String content;

    private Date leaveDate;

    private String remartk;

    private Integer employeeId;

    private Integer state;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDays() {
        return days;
    }

    public void setDays(Integer days) {
        this.days = days;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getLeaveDate() {
        return leaveDate;
    }

    public void setLeaveDate(Date leaveDate) {
        this.leaveDate = leaveDate;
    }

    public String getRemartk() {
        return remartk;
    }

    public void setRemartk(String remartk) {
        this.remartk = remartk == null ? null : remartk.trim();
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", days=").append(days);
        sb.append(", content=").append(content);
        sb.append(", leaveDate=").append(leaveDate);
        sb.append(", remartk=").append(remartk);
        sb.append(", employeeId=").append(employeeId);
        sb.append(", state=").append(state);
        sb.append("]");
        return sb.toString();
    }
}